package com.zkzx.truck.mapper.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TruckExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public TruckExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public TruckExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public TruckExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public TruckExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCidIsNull() {
            addCriterion("cid is null");
            return (Criteria) this;
        }

        public Criteria andCidIsNotNull() {
            addCriterion("cid is not null");
            return (Criteria) this;
        }

        public Criteria andCidEqualTo(String value) {
            addCriterion("cid =", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotEqualTo(String value) {
            addCriterion("cid <>", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThan(String value) {
            addCriterion("cid >", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThanOrEqualTo(String value) {
            addCriterion("cid >=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThan(String value) {
            addCriterion("cid <", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThanOrEqualTo(String value) {
            addCriterion("cid <=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLike(String value) {
            addCriterion("cid like", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotLike(String value) {
            addCriterion("cid not like", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidIn(List<String> values) {
            addCriterion("cid in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotIn(List<String> values) {
            addCriterion("cid not in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidBetween(String value1, String value2) {
            addCriterion("cid between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotBetween(String value1, String value2) {
            addCriterion("cid not between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andThreeidIsNull() {
            addCriterion("threeId is null");
            return (Criteria) this;
        }

        public Criteria andThreeidIsNotNull() {
            addCriterion("threeId is not null");
            return (Criteria) this;
        }

        public Criteria andThreeidEqualTo(String value) {
            addCriterion("threeId =", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidNotEqualTo(String value) {
            addCriterion("threeId <>", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidGreaterThan(String value) {
            addCriterion("threeId >", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidGreaterThanOrEqualTo(String value) {
            addCriterion("threeId >=", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidLessThan(String value) {
            addCriterion("threeId <", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidLessThanOrEqualTo(String value) {
            addCriterion("threeId <=", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidLike(String value) {
            addCriterion("threeId like", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidNotLike(String value) {
            addCriterion("threeId not like", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidIn(List<String> values) {
            addCriterion("threeId in", values, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidNotIn(List<String> values) {
            addCriterion("threeId not in", values, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidBetween(String value1, String value2) {
            addCriterion("threeId between", value1, value2, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidNotBetween(String value1, String value2) {
            addCriterion("threeId not between", value1, value2, "threeid");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andOwnerIsNull() {
            addCriterion("owner is null");
            return (Criteria) this;
        }

        public Criteria andOwnerIsNotNull() {
            addCriterion("owner is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerEqualTo(String value) {
            addCriterion("owner =", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotEqualTo(String value) {
            addCriterion("owner <>", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerGreaterThan(String value) {
            addCriterion("owner >", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerGreaterThanOrEqualTo(String value) {
            addCriterion("owner >=", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerLessThan(String value) {
            addCriterion("owner <", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerLessThanOrEqualTo(String value) {
            addCriterion("owner <=", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerLike(String value) {
            addCriterion("owner like", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotLike(String value) {
            addCriterion("owner not like", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerIn(List<String> values) {
            addCriterion("owner in", values, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotIn(List<String> values) {
            addCriterion("owner not in", values, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerBetween(String value1, String value2) {
            addCriterion("owner between", value1, value2, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotBetween(String value1, String value2) {
            addCriterion("owner not between", value1, value2, "owner");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseIsNull() {
            addCriterion("headerLicense is null");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseIsNotNull() {
            addCriterion("headerLicense is not null");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseEqualTo(String value) {
            addCriterion("headerLicense =", value, "headerlicense");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseNotEqualTo(String value) {
            addCriterion("headerLicense <>", value, "headerlicense");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseGreaterThan(String value) {
            addCriterion("headerLicense >", value, "headerlicense");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseGreaterThanOrEqualTo(String value) {
            addCriterion("headerLicense >=", value, "headerlicense");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseLessThan(String value) {
            addCriterion("headerLicense <", value, "headerlicense");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseLessThanOrEqualTo(String value) {
            addCriterion("headerLicense <=", value, "headerlicense");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseLike(String value) {
            addCriterion("headerLicense like", value, "headerlicense");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseNotLike(String value) {
            addCriterion("headerLicense not like", value, "headerlicense");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseIn(List<String> values) {
            addCriterion("headerLicense in", values, "headerlicense");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseNotIn(List<String> values) {
            addCriterion("headerLicense not in", values, "headerlicense");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseBetween(String value1, String value2) {
            addCriterion("headerLicense between", value1, value2, "headerlicense");
            return (Criteria) this;
        }

        public Criteria andHeaderlicenseNotBetween(String value1, String value2) {
            addCriterion("headerLicense not between", value1, value2, "headerlicense");
            return (Criteria) this;
        }

        public Criteria andTaillicenseIsNull() {
            addCriterion("tailLicense is null");
            return (Criteria) this;
        }

        public Criteria andTaillicenseIsNotNull() {
            addCriterion("tailLicense is not null");
            return (Criteria) this;
        }

        public Criteria andTaillicenseEqualTo(String value) {
            addCriterion("tailLicense =", value, "taillicense");
            return (Criteria) this;
        }

        public Criteria andTaillicenseNotEqualTo(String value) {
            addCriterion("tailLicense <>", value, "taillicense");
            return (Criteria) this;
        }

        public Criteria andTaillicenseGreaterThan(String value) {
            addCriterion("tailLicense >", value, "taillicense");
            return (Criteria) this;
        }

        public Criteria andTaillicenseGreaterThanOrEqualTo(String value) {
            addCriterion("tailLicense >=", value, "taillicense");
            return (Criteria) this;
        }

        public Criteria andTaillicenseLessThan(String value) {
            addCriterion("tailLicense <", value, "taillicense");
            return (Criteria) this;
        }

        public Criteria andTaillicenseLessThanOrEqualTo(String value) {
            addCriterion("tailLicense <=", value, "taillicense");
            return (Criteria) this;
        }

        public Criteria andTaillicenseLike(String value) {
            addCriterion("tailLicense like", value, "taillicense");
            return (Criteria) this;
        }

        public Criteria andTaillicenseNotLike(String value) {
            addCriterion("tailLicense not like", value, "taillicense");
            return (Criteria) this;
        }

        public Criteria andTaillicenseIn(List<String> values) {
            addCriterion("tailLicense in", values, "taillicense");
            return (Criteria) this;
        }

        public Criteria andTaillicenseNotIn(List<String> values) {
            addCriterion("tailLicense not in", values, "taillicense");
            return (Criteria) this;
        }

        public Criteria andTaillicenseBetween(String value1, String value2) {
            addCriterion("tailLicense between", value1, value2, "taillicense");
            return (Criteria) this;
        }

        public Criteria andTaillicenseNotBetween(String value1, String value2) {
            addCriterion("tailLicense not between", value1, value2, "taillicense");
            return (Criteria) this;
        }

        public Criteria andLicensecolorIsNull() {
            addCriterion("licenseColor is null");
            return (Criteria) this;
        }

        public Criteria andLicensecolorIsNotNull() {
            addCriterion("licenseColor is not null");
            return (Criteria) this;
        }

        public Criteria andLicensecolorEqualTo(String value) {
            addCriterion("licenseColor =", value, "licensecolor");
            return (Criteria) this;
        }

        public Criteria andLicensecolorNotEqualTo(String value) {
            addCriterion("licenseColor <>", value, "licensecolor");
            return (Criteria) this;
        }

        public Criteria andLicensecolorGreaterThan(String value) {
            addCriterion("licenseColor >", value, "licensecolor");
            return (Criteria) this;
        }

        public Criteria andLicensecolorGreaterThanOrEqualTo(String value) {
            addCriterion("licenseColor >=", value, "licensecolor");
            return (Criteria) this;
        }

        public Criteria andLicensecolorLessThan(String value) {
            addCriterion("licenseColor <", value, "licensecolor");
            return (Criteria) this;
        }

        public Criteria andLicensecolorLessThanOrEqualTo(String value) {
            addCriterion("licenseColor <=", value, "licensecolor");
            return (Criteria) this;
        }

        public Criteria andLicensecolorLike(String value) {
            addCriterion("licenseColor like", value, "licensecolor");
            return (Criteria) this;
        }

        public Criteria andLicensecolorNotLike(String value) {
            addCriterion("licenseColor not like", value, "licensecolor");
            return (Criteria) this;
        }

        public Criteria andLicensecolorIn(List<String> values) {
            addCriterion("licenseColor in", values, "licensecolor");
            return (Criteria) this;
        }

        public Criteria andLicensecolorNotIn(List<String> values) {
            addCriterion("licenseColor not in", values, "licensecolor");
            return (Criteria) this;
        }

        public Criteria andLicensecolorBetween(String value1, String value2) {
            addCriterion("licenseColor between", value1, value2, "licensecolor");
            return (Criteria) this;
        }

        public Criteria andLicensecolorNotBetween(String value1, String value2) {
            addCriterion("licenseColor not between", value1, value2, "licensecolor");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andEnergytypeIsNull() {
            addCriterion("energyType is null");
            return (Criteria) this;
        }

        public Criteria andEnergytypeIsNotNull() {
            addCriterion("energyType is not null");
            return (Criteria) this;
        }

        public Criteria andEnergytypeEqualTo(String value) {
            addCriterion("energyType =", value, "energytype");
            return (Criteria) this;
        }

        public Criteria andEnergytypeNotEqualTo(String value) {
            addCriterion("energyType <>", value, "energytype");
            return (Criteria) this;
        }

        public Criteria andEnergytypeGreaterThan(String value) {
            addCriterion("energyType >", value, "energytype");
            return (Criteria) this;
        }

        public Criteria andEnergytypeGreaterThanOrEqualTo(String value) {
            addCriterion("energyType >=", value, "energytype");
            return (Criteria) this;
        }

        public Criteria andEnergytypeLessThan(String value) {
            addCriterion("energyType <", value, "energytype");
            return (Criteria) this;
        }

        public Criteria andEnergytypeLessThanOrEqualTo(String value) {
            addCriterion("energyType <=", value, "energytype");
            return (Criteria) this;
        }

        public Criteria andEnergytypeLike(String value) {
            addCriterion("energyType like", value, "energytype");
            return (Criteria) this;
        }

        public Criteria andEnergytypeNotLike(String value) {
            addCriterion("energyType not like", value, "energytype");
            return (Criteria) this;
        }

        public Criteria andEnergytypeIn(List<String> values) {
            addCriterion("energyType in", values, "energytype");
            return (Criteria) this;
        }

        public Criteria andEnergytypeNotIn(List<String> values) {
            addCriterion("energyType not in", values, "energytype");
            return (Criteria) this;
        }

        public Criteria andEnergytypeBetween(String value1, String value2) {
            addCriterion("energyType between", value1, value2, "energytype");
            return (Criteria) this;
        }

        public Criteria andEnergytypeNotBetween(String value1, String value2) {
            addCriterion("energyType not between", value1, value2, "energytype");
            return (Criteria) this;
        }

        public Criteria andVolumeIsNull() {
            addCriterion("volume is null");
            return (Criteria) this;
        }

        public Criteria andVolumeIsNotNull() {
            addCriterion("volume is not null");
            return (Criteria) this;
        }

        public Criteria andVolumeEqualTo(String value) {
            addCriterion("volume =", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeNotEqualTo(String value) {
            addCriterion("volume <>", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeGreaterThan(String value) {
            addCriterion("volume >", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeGreaterThanOrEqualTo(String value) {
            addCriterion("volume >=", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeLessThan(String value) {
            addCriterion("volume <", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeLessThanOrEqualTo(String value) {
            addCriterion("volume <=", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeLike(String value) {
            addCriterion("volume like", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeNotLike(String value) {
            addCriterion("volume not like", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeIn(List<String> values) {
            addCriterion("volume in", values, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeNotIn(List<String> values) {
            addCriterion("volume not in", values, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeBetween(String value1, String value2) {
            addCriterion("volume between", value1, value2, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeNotBetween(String value1, String value2) {
            addCriterion("volume not between", value1, value2, "volume");
            return (Criteria) this;
        }

        public Criteria andTotalweightIsNull() {
            addCriterion("totalWeight is null");
            return (Criteria) this;
        }

        public Criteria andTotalweightIsNotNull() {
            addCriterion("totalWeight is not null");
            return (Criteria) this;
        }

        public Criteria andTotalweightEqualTo(String value) {
            addCriterion("totalWeight =", value, "totalweight");
            return (Criteria) this;
        }

        public Criteria andTotalweightNotEqualTo(String value) {
            addCriterion("totalWeight <>", value, "totalweight");
            return (Criteria) this;
        }

        public Criteria andTotalweightGreaterThan(String value) {
            addCriterion("totalWeight >", value, "totalweight");
            return (Criteria) this;
        }

        public Criteria andTotalweightGreaterThanOrEqualTo(String value) {
            addCriterion("totalWeight >=", value, "totalweight");
            return (Criteria) this;
        }

        public Criteria andTotalweightLessThan(String value) {
            addCriterion("totalWeight <", value, "totalweight");
            return (Criteria) this;
        }

        public Criteria andTotalweightLessThanOrEqualTo(String value) {
            addCriterion("totalWeight <=", value, "totalweight");
            return (Criteria) this;
        }

        public Criteria andTotalweightLike(String value) {
            addCriterion("totalWeight like", value, "totalweight");
            return (Criteria) this;
        }

        public Criteria andTotalweightNotLike(String value) {
            addCriterion("totalWeight not like", value, "totalweight");
            return (Criteria) this;
        }

        public Criteria andTotalweightIn(List<String> values) {
            addCriterion("totalWeight in", values, "totalweight");
            return (Criteria) this;
        }

        public Criteria andTotalweightNotIn(List<String> values) {
            addCriterion("totalWeight not in", values, "totalweight");
            return (Criteria) this;
        }

        public Criteria andTotalweightBetween(String value1, String value2) {
            addCriterion("totalWeight between", value1, value2, "totalweight");
            return (Criteria) this;
        }

        public Criteria andTotalweightNotBetween(String value1, String value2) {
            addCriterion("totalWeight not between", value1, value2, "totalweight");
            return (Criteria) this;
        }

        public Criteria andCurbweightIsNull() {
            addCriterion("curbWeight is null");
            return (Criteria) this;
        }

        public Criteria andCurbweightIsNotNull() {
            addCriterion("curbWeight is not null");
            return (Criteria) this;
        }

        public Criteria andCurbweightEqualTo(String value) {
            addCriterion("curbWeight =", value, "curbweight");
            return (Criteria) this;
        }

        public Criteria andCurbweightNotEqualTo(String value) {
            addCriterion("curbWeight <>", value, "curbweight");
            return (Criteria) this;
        }

        public Criteria andCurbweightGreaterThan(String value) {
            addCriterion("curbWeight >", value, "curbweight");
            return (Criteria) this;
        }

        public Criteria andCurbweightGreaterThanOrEqualTo(String value) {
            addCriterion("curbWeight >=", value, "curbweight");
            return (Criteria) this;
        }

        public Criteria andCurbweightLessThan(String value) {
            addCriterion("curbWeight <", value, "curbweight");
            return (Criteria) this;
        }

        public Criteria andCurbweightLessThanOrEqualTo(String value) {
            addCriterion("curbWeight <=", value, "curbweight");
            return (Criteria) this;
        }

        public Criteria andCurbweightLike(String value) {
            addCriterion("curbWeight like", value, "curbweight");
            return (Criteria) this;
        }

        public Criteria andCurbweightNotLike(String value) {
            addCriterion("curbWeight not like", value, "curbweight");
            return (Criteria) this;
        }

        public Criteria andCurbweightIn(List<String> values) {
            addCriterion("curbWeight in", values, "curbweight");
            return (Criteria) this;
        }

        public Criteria andCurbweightNotIn(List<String> values) {
            addCriterion("curbWeight not in", values, "curbweight");
            return (Criteria) this;
        }

        public Criteria andCurbweightBetween(String value1, String value2) {
            addCriterion("curbWeight between", value1, value2, "curbweight");
            return (Criteria) this;
        }

        public Criteria andCurbweightNotBetween(String value1, String value2) {
            addCriterion("curbWeight not between", value1, value2, "curbweight");
            return (Criteria) this;
        }

        public Criteria andVerificationweightIsNull() {
            addCriterion("verificationWeight is null");
            return (Criteria) this;
        }

        public Criteria andVerificationweightIsNotNull() {
            addCriterion("verificationWeight is not null");
            return (Criteria) this;
        }

        public Criteria andVerificationweightEqualTo(String value) {
            addCriterion("verificationWeight =", value, "verificationweight");
            return (Criteria) this;
        }

        public Criteria andVerificationweightNotEqualTo(String value) {
            addCriterion("verificationWeight <>", value, "verificationweight");
            return (Criteria) this;
        }

        public Criteria andVerificationweightGreaterThan(String value) {
            addCriterion("verificationWeight >", value, "verificationweight");
            return (Criteria) this;
        }

        public Criteria andVerificationweightGreaterThanOrEqualTo(String value) {
            addCriterion("verificationWeight >=", value, "verificationweight");
            return (Criteria) this;
        }

        public Criteria andVerificationweightLessThan(String value) {
            addCriterion("verificationWeight <", value, "verificationweight");
            return (Criteria) this;
        }

        public Criteria andVerificationweightLessThanOrEqualTo(String value) {
            addCriterion("verificationWeight <=", value, "verificationweight");
            return (Criteria) this;
        }

        public Criteria andVerificationweightLike(String value) {
            addCriterion("verificationWeight like", value, "verificationweight");
            return (Criteria) this;
        }

        public Criteria andVerificationweightNotLike(String value) {
            addCriterion("verificationWeight not like", value, "verificationweight");
            return (Criteria) this;
        }

        public Criteria andVerificationweightIn(List<String> values) {
            addCriterion("verificationWeight in", values, "verificationweight");
            return (Criteria) this;
        }

        public Criteria andVerificationweightNotIn(List<String> values) {
            addCriterion("verificationWeight not in", values, "verificationweight");
            return (Criteria) this;
        }

        public Criteria andVerificationweightBetween(String value1, String value2) {
            addCriterion("verificationWeight between", value1, value2, "verificationweight");
            return (Criteria) this;
        }

        public Criteria andVerificationweightNotBetween(String value1, String value2) {
            addCriterion("verificationWeight not between", value1, value2, "verificationweight");
            return (Criteria) this;
        }

        public Criteria andTowweightIsNull() {
            addCriterion("towWeight is null");
            return (Criteria) this;
        }

        public Criteria andTowweightIsNotNull() {
            addCriterion("towWeight is not null");
            return (Criteria) this;
        }

        public Criteria andTowweightEqualTo(String value) {
            addCriterion("towWeight =", value, "towweight");
            return (Criteria) this;
        }

        public Criteria andTowweightNotEqualTo(String value) {
            addCriterion("towWeight <>", value, "towweight");
            return (Criteria) this;
        }

        public Criteria andTowweightGreaterThan(String value) {
            addCriterion("towWeight >", value, "towweight");
            return (Criteria) this;
        }

        public Criteria andTowweightGreaterThanOrEqualTo(String value) {
            addCriterion("towWeight >=", value, "towweight");
            return (Criteria) this;
        }

        public Criteria andTowweightLessThan(String value) {
            addCriterion("towWeight <", value, "towweight");
            return (Criteria) this;
        }

        public Criteria andTowweightLessThanOrEqualTo(String value) {
            addCriterion("towWeight <=", value, "towweight");
            return (Criteria) this;
        }

        public Criteria andTowweightLike(String value) {
            addCriterion("towWeight like", value, "towweight");
            return (Criteria) this;
        }

        public Criteria andTowweightNotLike(String value) {
            addCriterion("towWeight not like", value, "towweight");
            return (Criteria) this;
        }

        public Criteria andTowweightIn(List<String> values) {
            addCriterion("towWeight in", values, "towweight");
            return (Criteria) this;
        }

        public Criteria andTowweightNotIn(List<String> values) {
            addCriterion("towWeight not in", values, "towweight");
            return (Criteria) this;
        }

        public Criteria andTowweightBetween(String value1, String value2) {
            addCriterion("towWeight between", value1, value2, "towweight");
            return (Criteria) this;
        }

        public Criteria andTowweightNotBetween(String value1, String value2) {
            addCriterion("towWeight not between", value1, value2, "towweight");
            return (Criteria) this;
        }

        public Criteria andIdentifyIsNull() {
            addCriterion("identify is null");
            return (Criteria) this;
        }

        public Criteria andIdentifyIsNotNull() {
            addCriterion("identify is not null");
            return (Criteria) this;
        }

        public Criteria andIdentifyEqualTo(String value) {
            addCriterion("identify =", value, "identify");
            return (Criteria) this;
        }

        public Criteria andIdentifyNotEqualTo(String value) {
            addCriterion("identify <>", value, "identify");
            return (Criteria) this;
        }

        public Criteria andIdentifyGreaterThan(String value) {
            addCriterion("identify >", value, "identify");
            return (Criteria) this;
        }

        public Criteria andIdentifyGreaterThanOrEqualTo(String value) {
            addCriterion("identify >=", value, "identify");
            return (Criteria) this;
        }

        public Criteria andIdentifyLessThan(String value) {
            addCriterion("identify <", value, "identify");
            return (Criteria) this;
        }

        public Criteria andIdentifyLessThanOrEqualTo(String value) {
            addCriterion("identify <=", value, "identify");
            return (Criteria) this;
        }

        public Criteria andIdentifyLike(String value) {
            addCriterion("identify like", value, "identify");
            return (Criteria) this;
        }

        public Criteria andIdentifyNotLike(String value) {
            addCriterion("identify not like", value, "identify");
            return (Criteria) this;
        }

        public Criteria andIdentifyIn(List<String> values) {
            addCriterion("identify in", values, "identify");
            return (Criteria) this;
        }

        public Criteria andIdentifyNotIn(List<String> values) {
            addCriterion("identify not in", values, "identify");
            return (Criteria) this;
        }

        public Criteria andIdentifyBetween(String value1, String value2) {
            addCriterion("identify between", value1, value2, "identify");
            return (Criteria) this;
        }

        public Criteria andIdentifyNotBetween(String value1, String value2) {
            addCriterion("identify not between", value1, value2, "identify");
            return (Criteria) this;
        }

        public Criteria andNatureIsNull() {
            addCriterion("nature is null");
            return (Criteria) this;
        }

        public Criteria andNatureIsNotNull() {
            addCriterion("nature is not null");
            return (Criteria) this;
        }

        public Criteria andNatureEqualTo(String value) {
            addCriterion("nature =", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureNotEqualTo(String value) {
            addCriterion("nature <>", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureGreaterThan(String value) {
            addCriterion("nature >", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureGreaterThanOrEqualTo(String value) {
            addCriterion("nature >=", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureLessThan(String value) {
            addCriterion("nature <", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureLessThanOrEqualTo(String value) {
            addCriterion("nature <=", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureLike(String value) {
            addCriterion("nature like", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureNotLike(String value) {
            addCriterion("nature not like", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureIn(List<String> values) {
            addCriterion("nature in", values, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureNotIn(List<String> values) {
            addCriterion("nature not in", values, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureBetween(String value1, String value2) {
            addCriterion("nature between", value1, value2, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureNotBetween(String value1, String value2) {
            addCriterion("nature not between", value1, value2, "nature");
            return (Criteria) this;
        }

        public Criteria andSourceIsNull() {
            addCriterion("source is null");
            return (Criteria) this;
        }

        public Criteria andSourceIsNotNull() {
            addCriterion("source is not null");
            return (Criteria) this;
        }

        public Criteria andSourceEqualTo(String value) {
            addCriterion("source =", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotEqualTo(String value) {
            addCriterion("source <>", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceGreaterThan(String value) {
            addCriterion("source >", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceGreaterThanOrEqualTo(String value) {
            addCriterion("source >=", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLessThan(String value) {
            addCriterion("source <", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLessThanOrEqualTo(String value) {
            addCriterion("source <=", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLike(String value) {
            addCriterion("source like", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotLike(String value) {
            addCriterion("source not like", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceIn(List<String> values) {
            addCriterion("source in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotIn(List<String> values) {
            addCriterion("source not in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceBetween(String value1, String value2) {
            addCriterion("source between", value1, value2, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotBetween(String value1, String value2) {
            addCriterion("source not between", value1, value2, "source");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRelationnumberIsNull() {
            addCriterion("relationNumber is null");
            return (Criteria) this;
        }

        public Criteria andRelationnumberIsNotNull() {
            addCriterion("relationNumber is not null");
            return (Criteria) this;
        }

        public Criteria andRelationnumberEqualTo(String value) {
            addCriterion("relationNumber =", value, "relationnumber");
            return (Criteria) this;
        }

        public Criteria andRelationnumberNotEqualTo(String value) {
            addCriterion("relationNumber <>", value, "relationnumber");
            return (Criteria) this;
        }

        public Criteria andRelationnumberGreaterThan(String value) {
            addCriterion("relationNumber >", value, "relationnumber");
            return (Criteria) this;
        }

        public Criteria andRelationnumberGreaterThanOrEqualTo(String value) {
            addCriterion("relationNumber >=", value, "relationnumber");
            return (Criteria) this;
        }

        public Criteria andRelationnumberLessThan(String value) {
            addCriterion("relationNumber <", value, "relationnumber");
            return (Criteria) this;
        }

        public Criteria andRelationnumberLessThanOrEqualTo(String value) {
            addCriterion("relationNumber <=", value, "relationnumber");
            return (Criteria) this;
        }

        public Criteria andRelationnumberLike(String value) {
            addCriterion("relationNumber like", value, "relationnumber");
            return (Criteria) this;
        }

        public Criteria andRelationnumberNotLike(String value) {
            addCriterion("relationNumber not like", value, "relationnumber");
            return (Criteria) this;
        }

        public Criteria andRelationnumberIn(List<String> values) {
            addCriterion("relationNumber in", values, "relationnumber");
            return (Criteria) this;
        }

        public Criteria andRelationnumberNotIn(List<String> values) {
            addCriterion("relationNumber not in", values, "relationnumber");
            return (Criteria) this;
        }

        public Criteria andRelationnumberBetween(String value1, String value2) {
            addCriterion("relationNumber between", value1, value2, "relationnumber");
            return (Criteria) this;
        }

        public Criteria andRelationnumberNotBetween(String value1, String value2) {
            addCriterion("relationNumber not between", value1, value2, "relationnumber");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeIsNull() {
            addCriterion("lastModifiedTime is null");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeIsNotNull() {
            addCriterion("lastModifiedTime is not null");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeEqualTo(Date value) {
            addCriterion("lastModifiedTime =", value, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeNotEqualTo(Date value) {
            addCriterion("lastModifiedTime <>", value, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeGreaterThan(Date value) {
            addCriterion("lastModifiedTime >", value, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("lastModifiedTime >=", value, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeLessThan(Date value) {
            addCriterion("lastModifiedTime <", value, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeLessThanOrEqualTo(Date value) {
            addCriterion("lastModifiedTime <=", value, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeIn(List<Date> values) {
            addCriterion("lastModifiedTime in", values, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeNotIn(List<Date> values) {
            addCriterion("lastModifiedTime not in", values, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeBetween(Date value1, Date value2) {
            addCriterion("lastModifiedTime between", value1, value2, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeNotBetween(Date value1, Date value2) {
            addCriterion("lastModifiedTime not between", value1, value2, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andCreateuserIsNull() {
            addCriterion("createUser is null");
            return (Criteria) this;
        }

        public Criteria andCreateuserIsNotNull() {
            addCriterion("createUser is not null");
            return (Criteria) this;
        }

        public Criteria andCreateuserEqualTo(Integer value) {
            addCriterion("createUser =", value, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserNotEqualTo(Integer value) {
            addCriterion("createUser <>", value, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserGreaterThan(Integer value) {
            addCriterion("createUser >", value, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserGreaterThanOrEqualTo(Integer value) {
            addCriterion("createUser >=", value, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserLessThan(Integer value) {
            addCriterion("createUser <", value, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserLessThanOrEqualTo(Integer value) {
            addCriterion("createUser <=", value, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserIn(List<Integer> values) {
            addCriterion("createUser in", values, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserNotIn(List<Integer> values) {
            addCriterion("createUser not in", values, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserBetween(Integer value1, Integer value2) {
            addCriterion("createUser between", value1, value2, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserNotBetween(Integer value1, Integer value2) {
            addCriterion("createUser not between", value1, value2, "createuser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserIsNull() {
            addCriterion("lastModifiedUser is null");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserIsNotNull() {
            addCriterion("lastModifiedUser is not null");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserEqualTo(Integer value) {
            addCriterion("lastModifiedUser =", value, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserNotEqualTo(Integer value) {
            addCriterion("lastModifiedUser <>", value, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserGreaterThan(Integer value) {
            addCriterion("lastModifiedUser >", value, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserGreaterThanOrEqualTo(Integer value) {
            addCriterion("lastModifiedUser >=", value, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserLessThan(Integer value) {
            addCriterion("lastModifiedUser <", value, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserLessThanOrEqualTo(Integer value) {
            addCriterion("lastModifiedUser <=", value, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserIn(List<Integer> values) {
            addCriterion("lastModifiedUser in", values, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserNotIn(List<Integer> values) {
            addCriterion("lastModifiedUser not in", values, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserBetween(Integer value1, Integer value2) {
            addCriterion("lastModifiedUser between", value1, value2, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserNotBetween(Integer value1, Integer value2) {
            addCriterion("lastModifiedUser not between", value1, value2, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andCreatecompanyIsNull() {
            addCriterion("createCompany is null");
            return (Criteria) this;
        }

        public Criteria andCreatecompanyIsNotNull() {
            addCriterion("createCompany is not null");
            return (Criteria) this;
        }

        public Criteria andCreatecompanyEqualTo(Integer value) {
            addCriterion("createCompany =", value, "createcompany");
            return (Criteria) this;
        }

        public Criteria andCreatecompanyNotEqualTo(Integer value) {
            addCriterion("createCompany <>", value, "createcompany");
            return (Criteria) this;
        }

        public Criteria andCreatecompanyGreaterThan(Integer value) {
            addCriterion("createCompany >", value, "createcompany");
            return (Criteria) this;
        }

        public Criteria andCreatecompanyGreaterThanOrEqualTo(Integer value) {
            addCriterion("createCompany >=", value, "createcompany");
            return (Criteria) this;
        }

        public Criteria andCreatecompanyLessThan(Integer value) {
            addCriterion("createCompany <", value, "createcompany");
            return (Criteria) this;
        }

        public Criteria andCreatecompanyLessThanOrEqualTo(Integer value) {
            addCriterion("createCompany <=", value, "createcompany");
            return (Criteria) this;
        }

        public Criteria andCreatecompanyIn(List<Integer> values) {
            addCriterion("createCompany in", values, "createcompany");
            return (Criteria) this;
        }

        public Criteria andCreatecompanyNotIn(List<Integer> values) {
            addCriterion("createCompany not in", values, "createcompany");
            return (Criteria) this;
        }

        public Criteria andCreatecompanyBetween(Integer value1, Integer value2) {
            addCriterion("createCompany between", value1, value2, "createcompany");
            return (Criteria) this;
        }

        public Criteria andCreatecompanyNotBetween(Integer value1, Integer value2) {
            addCriterion("createCompany not between", value1, value2, "createcompany");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}